home *** CD-ROM | disk | FTP | other *** search
/ FM Towns: Free Software Collection 7 / FM Towns Free Software Collection 7.iso / taropyon / guilib3 / inc / spdefs.h < prev    next >
C/C++ Source or Header  |  1993-11-30  |  948b  |  50 lines

  1. /*    :*****************************************************************
  2.     :    "spdefs.h" : system “Pride” ライブラリヘッダファイル
  3.     :*****************************************************************
  4. */
  5. #ifndef    _SPDEFS_H
  6. #define    _SPDEFS_H
  7.  
  8. #ifdef    __HIGHC__
  9. #    pragma    Off(Char_default_unsigned)
  10. #endif
  11.  
  12. #ifndef _SIZE_T_DEFINED
  13. #define _SIZE_T_DEFINED
  14.     typedef unsigned int size_t;
  15. #endif
  16.  
  17. #define    NORMAL    (0)
  18. #define    ERR        (-1)
  19. #define    TRUE    (1)
  20. #define    FALSE    (0)
  21. #define    ON        (1)
  22. #define    OFF        (0)
  23. #define    LOOP    for(;;)
  24.  
  25. #define    VOID_FUNC(c)    ((void (*)())(c))
  26. #define    INT_FUNC(c)        ((int  (*)())(c))
  27.  
  28. #define    STRLEN    (256)
  29.  
  30. #ifndef    CONST
  31. #    define    CONST    const
  32. #endif
  33. #ifndef    REG
  34. #    define    REG        register
  35. #endif
  36. #ifndef    UCHAR
  37. #    define    UCHAR    unsigned char
  38. #endif
  39. #ifndef    UINT
  40. #    define    UINT    unsigned int
  41. #endif
  42. #ifndef    SHORT
  43. #    define    SHORT    short int
  44. #endif
  45. #ifndef    USHORT
  46. #    define    USHORT    unsigned short
  47. #endif
  48.  
  49. #endif
  50.